/* pages/cart/cart.wxss */
page{
  padding-bottom: 90rpx;
}
.revice_address_row{
    .address_btn{
        padding: 20rpx;
        button{
            width: 60%;
        }
    }
}
.user_info_row{
    display: flex;
    padding: 20rpx;
    .user_info{
        flex: 5;
    }
    .user_phone{
        flex: 3;
        text-align: right;
    }
}
.cart_content {
  .cart_title {
    padding: 20rpx;
      font-size: 36rpx;
      color:var(--themeColor);
      border-top : 1rpx solid currentColor;
      border-bottom: 1rpx solid currentColor
  }

  .cart_main {
    .cart_item {
       display: flex;
       padding: 10rpx;
       border-bottom: 1rpx solid #ccc;
      .cart_chk_wrap {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .cart_img_wrap {
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        image {
          width: 80%;
        }
      }

      .cart_info_wrap {
        flex:4;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .goods_name {
           // 文本显示为两行,超过部分隐藏并使用省略号
           display: -webkit-box;
           overflow: hidden;
           // 文字溢出隐藏变省略号的样式
           -webkit-box-orient: vertical;
           //文字为2行
           -webkit-line-clamp: 2;
           color:#666
        }

        .goods_price_wrap {
          display: flex;
          justify-content: space-between;
          padding-right: 20rpx;
          .goods_price {
            color: var(--themeColor);
            font-size: 34rpx;
          }

          .cart_num_tool {
            display: flex;
            .num_edit {
              height: 44rpx;
              width: 44rpx;
              display: flex;
              justify-content: center;
              align-items: center;
              border: 1rpx solid #ccc;
            }

            .goods_num {
              height: 44rpx;
              width: 44rpx;
              display: flex;
              justify-content: center;
              align-items: center;
            }
          }
        }
      }
    }
  }
}
.footer_tool {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90rpx;
  display: flex;
  border-top : 1rpx solid #ccc;
  background-color: #fff;
  .all_chk_wrap {
    flex:2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .total_price_wrap {
    flex:4;
    padding-right: 15rpx;
    text-align: right;
    .total_price {
      text.total_price_text {
        color: var(--themeColor);
        font-size: 34rpx;
        font-weight: 600;
      }
    }
  }

  .order_pay_wrap {
    flex:3;
    background-color: var(--themeColor);
    color: #fff;
    font-size: 32rpx;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}